import request from '@/utils/request'
function getUrl(url) { return '/api/' + url }

//添加消防企业信息
export function addInFireCompany(data) {
    return request({
        url: getUrl("admin/inFireCompany/addInFireCompany"),
        method: 'post',
        data
    })
}

//更新消防企业信信息
export function updateInFireCompany(data) {
    return request({
        url: getUrl("admin/inFireCompany/updateInFireCompany"),
        method: 'post',
        data
    })
}


export function deleteInFireCompany(data) {
    return request({
        url: getUrl("admin/inFireCompany/deleteInFireCompany"),
        method: 'post',
        data
    })
}


//获取消防企业信息数据 getInFireCompanyVo
export function getInFireCompanyVo(data) {
    return request({
        url: getUrl("admin/inFireCompany/getInFireCompanyVo"),
        method: 'post',
        data
    })
}
